import Layout from '../views/layout/Layout'
const _import = require('./_import_' + process.env.NODE_ENV)
const JournalMenu = {
  path: '/journalManager',
  component: Layout,
  name: '账务管理',
  meta: {
    title: '账务管理',
    icon: 'chart'
  },
  icon: 'chart',
  authority: 'journalManager',
  children: [{
    path: 'merchantAccountJournal',
    component: _import('crm/customers/merchantAccountJournal'),
    name: '商户账务流水',
    meta: {
      title: '商户账务流水',
      icon: 'tab'
    },
    authority: 'merchantAccountJournal'
  }, {
    path: 'personalAccountJournal',
    component: _import('crm/customers/personalAccountJournal'),
    name: '个人账务流水',
    meta: {
      title: '个人账务流水',
      icon: 'tab'
    },
    authority: 'personalAccountJournal'
  }, {
    path: 'freezeJournal',
    component: _import('crm/customers/freezeJournal'),
    name: '冻结流水',
    meta: {
      title: '冻结流水',
      icon: 'tab'
    },
    authority: 'freezeJournal'
  }, {
    path: 'unfreezeJournal',
    component: _import('crm/customers/unfreezeJournal'),
    name: '解冻流水',
    meta: {
      title: '解冻流水',
      icon: 'tab'
    },
    authority: 'unfreezeJournal'
  }]
}
export default JournalMenu
